package com.hifar.demo3.pojo;

public class TableCell {
    private String content;
    private int colspan = 1;
    private int rowspan = 1;
    private double NumericValue = 0D;

    // 构造函数
    public TableCell() {
    }

    public TableCell(String content) {
        this.content = content;
    }

    // getters 和 setters
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getColspan() {
        return colspan;
    }

    public void setColspan(int colspan) {
        this.colspan = colspan;
    }

    public double getNumericValue() {
        return NumericValue;
    }

    public void setNumericValue(double numericValue) {
        NumericValue = numericValue;
    }

    public int getRowspan() {
        return rowspan;
    }

    public void setRowspan(int rowspan) {
        this.rowspan = rowspan;
    }

    @Override
    public String toString() {
        return "TableCell [content=" + content + ", colspan=" + colspan + ", rowspan=" + rowspan + ", NumericValue="
                + NumericValue + "]";
    }

}